package com.wwj.core.server.entity;

import com.wwj.framework.entity.BaseIdEntity;

import java.util.Date;

public class ControlServerConnect extends BaseIdEntity<Integer> {

    public static final int NOT_CONNECTED = 0;

    public static final int CONNECTED = 1;

    private Integer controlServerId;

    private String connectServerName;

    private Integer connected;

    private Date createTime;

    private Date updateTime;

    public ControlServerConnect() {
    }

    public ControlServerConnect(Integer controlServerId, String connectServerName) {
        this.controlServerId = controlServerId;
        this.connectServerName = connectServerName;
        this.connected = CONNECTED;
    }

    public Integer getControlServerId() {
        return controlServerId;
    }

    public void setControlServerId(Integer controlServerId) {
        this.controlServerId = controlServerId;
    }

    public String getConnectServerName() {
        return connectServerName;
    }

    public void setConnectServerName(String connectServerName) {
        this.connectServerName = connectServerName;
    }

    public Integer getConnected() {
        return connected;
    }

    public void setConnected(Integer connected) {
        this.connected = connected;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
